package com.emode.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Bbsusers entity. @author MyEclipse Persistence Tools
 */

public class Bbsusers implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -3052138231132931070L;
	private Integer uid;
	private String uname;
	private String upassword;
	private String repsw;	//第二次输入密码
	private String usex;
	private String uemail;
	private Short uclass;  //用户等级
	private String uremark;		//昵称
	private Integer upoint;		//积分
	private Date uregDate;		//注册时间
	private Short umark;		//
	private Short ustate;		//用户状态  0 1 2
	private String avatar;		//头像
	private String homepage;	//个人主页
	private Date lastlogin;		//最后一个登录时间
	private Integer follows;	//关注数
	private Short notices;		//消息提醒
	private String activationCode;	//激活码
	private Integer signtimes; 		//用户签到次数
	private Integer followed; 		//被关注量
	//private Short groupType;		//用户组
	//private UserGroup usergroup;
	private Set bbsreplies = new HashSet(0);
	private Set upfiles = new HashSet(0);
	private Set bbstopics = new HashSet(0);
	private Set bbssections = new HashSet(0);
	private Set<UserSign> usersign = new HashSet<UserSign>(); 
	
	//设置用户组
	private Set<SysGroup> group = new HashSet<SysGroup>();

	// Constructors
	/** default constructor */
	public Bbsusers() {
	}


	/** full constructor */
	public Bbsusers(String uname, String upassword, String usex, String uemail,
			Short uclass, String uremark, Integer upoint, Date uregDate,
			Short umark, Short ustate, String avatar, String homepage,
			Date lastlogin, Integer follows, Short notices,
			String activationCode,Integer signtimes,Integer followed,
			Set userNotificationsesForNuid, Set bbsreplies,
			Set userNotificationsesForSuid, Set upfiles, Set userFollowsForUid,
			Set userFollowsForFolloweduser, Set bbstopics, Set bbssections) {
		this.uname = uname;
		this.upassword = upassword;
		this.usex = usex;
		this.uemail = uemail;
		this.uclass = uclass;
		this.uremark = uremark;
		this.upoint = upoint;
		this.uregDate = uregDate;
		this.umark = umark;
		this.ustate = ustate;
		this.avatar = avatar;
		this.homepage = homepage;
		this.lastlogin = lastlogin;
		this.follows = follows;
		this.notices = notices;
		this.activationCode = activationCode;
		this.signtimes = signtimes;
		this.followed = followed;
		this.bbsreplies = bbsreplies;
		this.upfiles = upfiles;
		this.bbstopics = bbstopics;
		this.bbssections = bbssections;
	}


	public Integer getUid() {
		return uid;
	}


	public void setUid(Integer uid) {
		this.uid = uid;
	}


	public String getUname() {
		return uname;
	}


	public void setUname(String uname) {
		this.uname = uname;
	}


	public String getUpassword() {
		return upassword;
	}


	public void setUpassword(String upassword) {
		this.upassword = upassword;
	}


	public String getRepsw() {
		return repsw;
	}


	public void setRepsw(String repsw) {
		this.repsw = repsw;
	}


	public String getUsex() {
		return usex;
	}


	public void setUsex(String usex) {
		this.usex = usex;
	}


	public String getUemail() {
		return uemail;
	}


	public void setUemail(String uemail) {
		this.uemail = uemail;
	}


	public Short getUclass() {
		return uclass;
	}


	public void setUclass(Short uclass) {
		this.uclass = uclass;
	}


	public String getUremark() {
		return uremark;
	}


	public void setUremark(String uremark) {
		this.uremark = uremark;
	}


	public Integer getUpoint() {
		return upoint;
	}


	public void setUpoint(Integer upoint) {
		this.upoint = upoint;
	}


	public Date getUregDate() {
		return uregDate;
	}


	public void setUregDate(Date uregDate) {
		this.uregDate = uregDate;
	}


	public Short getUmark() {
		return umark;
	}


	public void setUmark(Short umark) {
		this.umark = umark;
	}


	public Short getUstate() {
		return ustate;
	}


	public void setUstate(Short ustate) {
		this.ustate = ustate;
	}


	public String getAvatar() {
		return avatar;
	}


	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}


	public String getHomepage() {
		return homepage;
	}


	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}


	public Date getLastlogin() {
		return lastlogin;
	}


	public void setLastlogin(Date lastlogin) {
		this.lastlogin = lastlogin;
	}


	public Integer getFollows() {
		return follows;
	}


	public void setFollows(Integer follows) {
		this.follows = follows;
	}


	public Short getNotices() {
		return notices;
	}


	public void setNotices(Short notices) {
		this.notices = notices;
	}


	public String getActivationCode() {
		return activationCode;
	}


	public void setActivationCode(String activationCode) {
		this.activationCode = activationCode;
	}


	public Set getBbsreplies() {
		return bbsreplies;
	}


	public void setBbsreplies(Set bbsreplies) {
		this.bbsreplies = bbsreplies;
	}


	public Set getUpfiles() {
		return upfiles;
	}


	public void setUpfiles(Set upfiles) {
		this.upfiles = upfiles;
	}


	public Set getBbstopics() {
		return bbstopics;
	}


	public void setBbstopics(Set bbstopics) {
		this.bbstopics = bbstopics;
	}


	public Set getBbssections() {
		return bbssections;
	}


	public void setBbssections(Set bbssections) {
		this.bbssections = bbssections;
	}


	public Set<SysGroup> getGroup() {
		return group;
	}


	public void setGroup(Set<SysGroup> group) {
		this.group = group;
	}


	public Set<UserSign> getUsersign() {
		return usersign;
	}


	public void setUsersign(Set<UserSign> usersign) {
		this.usersign = usersign;
	}


	public Integer getSigntimes() {
		return signtimes;
	}


	public void setSigntimes(Integer signtimes) {
		this.signtimes = signtimes;
	}


	public Integer getFollowed() {
		return followed;
	}


	public void setFollowed(Integer followed) {
		this.followed = followed;
	}

	
	
}